#pragma once

#include "Ogre.h"
#include "imtSkeletonAnimController.h"
#include "imtSceneEntity.h"
#include <list>
namespace iMate
{

	

	class DemoRole
	{
	public:
		DemoRole() : /*mActionExe(NULL),*/mSceneEntity(NULL),mActionCtrl(NULL){}
		~DemoRole();

	public:
		void load(GameScene* gs);
		void Act(const char*name,bool bloop,Real duration=0.0f);
		void MoveTo(Vector3& pos,Real speed);
		void update(Real deltatime);
		void unload();

		void start();
		void _notifyFinsh();
		void _notifyStart();


		SceneEntity* mSceneEntity;	

	//protected:
		SkeletonAnimController* mActionCtrl;
		//SceneEntity* mSceneEntity;	
		//RotateController* mRotateCtrl;
		//MoveController*	 mMoveCtrl;
		//ActionExecuter*	mActionExe;
		//std::list<ActionDec>	mActionSeries;
	};

}